#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Project  : untitled1
# @File     : page_tencent_news_see_details.py
# @Author   : liujie
# @Time     : 2021/07/08 0:09
from selenium.webdriver.common.by import By

class PageTencentNewsSeeDetails():
    def __init__(self, driver):
        self.driver = driver

        # 定位器
        self.loc_ele_see_details = (By.XPATH, 'com.tencent.news:id/cf0') #定位搜索结果的页面

    def ele_see_details(self):
        self.driver.find_element(*self.loc_ele_see_details).click()